package com.tianqizhikong.exceltool;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 *@Author: zlr
 *@CreateTime: 2024-12-27
 *@Description:
 */

public class TargetModel {
    @ExcelProperty("序号")
    private Integer serialNumber;  // 序号

    @ExcelProperty("选中")
    private String select;    //是否选中

    @ExcelProperty("物料编码")
    private String materialCode;   // 物料编码

    @ExcelProperty("物料名称")
    private String materialName;   // 物料名称

    @ExcelProperty("规格型号")
    private String specificationModel;  // 规格型号

    @ExcelProperty("单位")
    private String unit;           // 单位

    @ExcelProperty("毛需求")
    private Integer grossDemand;   // 毛需求

    @ExcelProperty("可用库存")
    private Integer availableStock;  // 可用库存

    @ExcelProperty("安全库存")
    private Integer safetyStock;   // 安全库存

    @ExcelProperty("净需求")
    private Integer netDemand;     // 净需求

    @ExcelProperty("到货日期")
    private String arrivalDate;    // 到货日期 (字符串格式)

    @ExcelProperty("物料属性")
    private String materialProperty;  // 物料属性

    @ExcelProperty("供应商")
    private String supplier;        // 供应商

    @ExcelProperty("负责人")
    private String personInCharge;  // 负责人

    @ExcelProperty("物料交期")
    private String materialLeadTime; // 物料交期

    @ExcelProperty("备注异常原因")
    private String exceptionReason; // 备注异常原因

    @ExcelProperty("PMC回复")
    private String pmcResponse;     // PMC回复


    public Integer getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(Integer serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getSelect() {
        return select;
    }

    public void setSelect(String select) {
        this.select = select;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getSpecificationModel() {
        return specificationModel;
    }

    public void setSpecificationModel(String specificationModel) {
        this.specificationModel = specificationModel;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getGrossDemand() {
        return grossDemand;
    }

    public void setGrossDemand(Integer grossDemand) {
        this.grossDemand = grossDemand;
    }

    public Integer getAvailableStock() {
        return availableStock;
    }

    public void setAvailableStock(Integer availableStock) {
        this.availableStock = availableStock;
    }

    public Integer getSafetyStock() {
        return safetyStock;
    }

    public void setSafetyStock(Integer safetyStock) {
        this.safetyStock = safetyStock;
    }

    public Integer getNetDemand() {
        return netDemand;
    }

    public void setNetDemand(Integer netDemand) {
        this.netDemand = netDemand;
    }

    public String getArrivalDate() {
        return arrivalDate;
    }

    public void setArrivalDate(String arrivalDate) {
        this.arrivalDate = arrivalDate;
    }

    public String getMaterialProperty() {
        return materialProperty;
    }

    public void setMaterialProperty(String materialProperty) {
        this.materialProperty = materialProperty;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getPersonInCharge() {
        return personInCharge;
    }

    public void setPersonInCharge(String personInCharge) {
        this.personInCharge = personInCharge;
    }

    public String getMaterialLeadTime() {
        return materialLeadTime;
    }

    public void setMaterialLeadTime(String materialLeadTime) {
        this.materialLeadTime = materialLeadTime;
    }

    public String getExceptionReason() {
        return exceptionReason;
    }

    public void setExceptionReason(String exceptionReason) {
        this.exceptionReason = exceptionReason;
    }

    public String getPmcResponse() {
        return pmcResponse;
    }

    public void setPmcResponse(String pmcResponse) {
        this.pmcResponse = pmcResponse;
    }

    @Override
    public String toString() {
        return "MaterialData{" +
                "serialNumber=" + serialNumber +
                ", select=" + select +
                ", materialCode='" + materialCode + '\'' +
                ", materialName='" + materialName + '\'' +
                ", specificationModel='" + specificationModel + '\'' +
                ", unit='" + unit + '\'' +
                ", grossDemand=" + grossDemand +
                ", availableStock=" + availableStock +
                ", safetyStock=" + safetyStock +
                ", netDemand=" + netDemand +
                ", arrivalDate='" + arrivalDate + '\'' +
                ", materialProperty='" + materialProperty + '\'' +
                '}';
    }
}
